package com.stef.saas.crm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stef.saas.common.base.dto.BaseResult;
import com.stef.saas.crm.model.dto.CustomerDTO;
import com.stef.saas.crm.model.dto.CustomerPageDTO;
import com.stef.saas.crm.model.entity.Customer;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author stef
 * @date 2021-05-15
 */
public interface ICustomerService extends IService<Customer> {

  BaseResult pageListCustomer(Page page,CustomerPageDTO pageDTO);

  BaseResult doSave(CustomerDTO dto);

  BaseResult doDelete(Integer id);

  BaseResult doUpdate(CustomerDTO dto);

  BaseResult detail(Integer id);
}
